/*
 * @Author: wuzhouhai wzh200x@126.com
 * @Date: 2024-07-30 15:10:32
 * @LastEditors: wuzhouhai wzh200x@126.com
 * @LastEditTime: 2024-07-30 15:12:47
 * @FilePath: \dwys_web\assets\script\phoenix\message\s2c\s2cMessage_UpdateRoomInfo.ts
 * @Description: 
 */
import { BaseMessage } from "../../../../../extensions/phoenix-plugin-client/assets/core/net/message/message";
import { OpcodeApp } from "../../define/opcode.define";
import proto from "../../protoc/ts/proto_app.js";

export class S2CMessageUpdateRoomInfo extends BaseMessage {
    constructor(){
        super(OpcodeApp.Opcode_SC_UPDATE_ROOM_INFO);
    }

    Decode(data: Uint8Array): void {
        if (!data) {
            return;
        }
        this.messageEntity = proto.s2c_UpdateRoomInfo.decode(data);
    }
}